// 云函数入口文件
const cloud = require('wx-server-sdk')

cloud.init()

var skeys = ["98kiu6haaffFwffsdf"]
// 云函数入口函数
exports.main = (event, context) => {
  var matched = false
  for(var i in skeys){
    if(skeys[i] === event.skey){
      matched = true
      break
    }
  }
  return {
    matched: matched
  }
}